VisualComposer\Helpers\WpMedia A

Total Complexity 67
Dependencies 0
Dependents 3
Total lines 347
Lines of code 275
Logical lines of code 130
Comment lines 38
Methods 10
Properties 0

Methods 10

Method Rating Maintainability Complexity Lines of code
getElementMedia()
B
44 19 42
getImageBySize()
B
37 15 80
processImageResize()
A
39 10 73
getSizes()
S
52 6 23
getThumbSize()
S
56 6 18
getTemplateElementMedia()
S
65 3 10
resizeImageById()
S
66 2 8
stringifyAttributes()
S
67 2 7
checkIsImage()
S
68 2 7
checkIsVideo()
S
68 2 7